package com.itheima.权限修饰符;

public class Fu {
    private String name = "赫卡里姆";
    int age = 18;
    protected double height = 1.88;
    public int weight = 666;


}


class Zi extends Fu{
    public void method(){
        //System.out.println(name);
        System.out.println(age);
        System.out.println(height);
        System.out.println(weight);
    }
}